<template>
  <div class="pk-rate">
    <el-rate
      v-model="value"
      disabled
      show-score
      text-color="#ff9900"
      score-template="{value}">
    </el-rate>
  </div>
</template>

<script setup>
 import { ref, defineProps } from 'vue'
 const props = defineProps({
  data: {
    type: Number,
    default: 0
  }
 })
 const value = ref(props.data)

</script>

<style lang="scss" scoped>

</style>